using System;
using System.Numerics;

namespace NodeBasedSkillEditor.Model.Node
{
    [Node(Category = DAGHelper.CateName_Math, Name = "Min")]
    [NodeTypeGroup(TypeGroupId = 1, AllowedTypes = new Type[] { typeof(int), typeof(float), typeof(Vector2), typeof(Vector3) })]
    public class Node_Min : NodeData
    {
        [Port(IOType = EPortIOType.Input, TypeGroup = 1)]
        public PortGroup Values = new PortGroup();

        [Port(IOType = EPortIOType.Output, TypeGroup = 1)]
        public ValuePort Min = new ValuePort();

        public override RT_Node BuildRuntimeNode(RT_DAG parentDAG)
        {
            return new RT.Node_Min_RT(this, parentDAG);
        }
    }
}
